package com.yuwubao.uav.tool.mapper;

import com.yuwubao.framework.bean.PageData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface HotNewsMapper {

    void deleteHotNews(PageData pageData) throws Exception;
    void updateHotNews(PageData pageData) throws Exception;
    void disableOrEnableHotNews(PageData pageData) throws Exception;
    void addHotNews(PageData pageData) throws Exception;
    List<PageData> listHotNews(PageData pageData) throws Exception;
    int listHotNewsCount(PageData pageData) throws Exception;

    void deleteHotNewsType(PageData pageData) throws Exception;
    void updateHotNewsType(PageData pageData) throws Exception;
    void disableOrEnableHotNewsType(PageData pageData) throws Exception;
    void addHotNewsType(PageData pageData) throws Exception;
    List<PageData> listHotNewsType(PageData pageData) throws Exception;
    List<PageData> listHotNewsTypeAll(PageData pageData) throws Exception;
    int listHotNewsTypeCount(PageData pageData) throws Exception;


}
